package butterknife.compiler;

import com.squareup.javapoet.CodeBlock;

interface ResourceBinding {
    Id id();

    /**
     * True if the code for this binding requires a 'res' variable for {@code Resources} access.
     * @param sdk version
     * @return True or False
     */
    boolean requiresResources(int sdk);

    CodeBlock render(int sdk);
}
